import request from '@/utils/request'
 
///system/patient/query/user/info  查询病人列表根据身份证号查询,根据patientId 判断 相同不返回数据
export function getRecoeryPatientInfo(query) {
    return request({
      url: '/system/patient/query/user/info',
      method: 'get',
      params: query
    })
  }

///system/data/list 查询数据检查列表
export function getRecoeryList(query) {
    return request({
      url: '/system/data/list',
      method: 'get',
      params: query
    })
  }
///system/data/add/treatment 新增数据检查
export function addRecoveryData(data) {
    return request({
      url: '/system/data/add/treatment',
      method: 'post',
      data: data
    })
  }
////system/data 修改数据状态
export function updateRecoveryData(data) {
  return request({
    url: '/system/data',
    method: 'put',
    data: data
  })
}

////system/data/{ids}删除数st据检查

export function delRecoveryData(ids) {
    return request({
      url: '/system/data/' + ids,
      method: 'delete'
    })
  }
